﻿Jxstar.currentPage = function() {
	var config = {param:{},initpage:function(page, define){},eventcfg:{}};

	var cols = [
	{col:{header:'发售人', width:100, sortable:true}, field:{name:'pur_apply_filesale__filesale_user',type:'string'}},
	{col:{header:'联系电话', width:100, sortable:true}, field:{name:'pur_apply_filesale__filesale_phone',type:'string'}},
	{col:{header:'发售日期', width:100, sortable:true, renderer:function(value) {
			return value ? value.format('Y-m-d') : '';
		}}, field:{name:'pur_apply_filesale__filesale_date',type:'date'}},
	{col:{header:'发售部门', width:100, sortable:true}, field:{name:'pur_apply_filesale__filesale_dept',type:'string'}},
	{col:{header:'接收单位', width:100, sortable:true}, field:{name:'pur_apply_filesale__rece_dept',type:'string'}},
	{col:{header:'接收人', width:100, sortable:true}, field:{name:'pur_apply_filesale__rece_user',type:'string'}},
	{col:{header:'接收单位联系电话', width:100, sortable:true}, field:{name:'pur_apply_filesale__rece_phone',type:'string'}},
	{col:{header:'发售文件描述', width:100, sortable:true}, field:{name:'pur_apply_filesale__file_desc',type:'string'}},
	{col:{header:'备注', width:100, sortable:true}, field:{name:'pur_apply_filesale__memo',type:'string'}},
	{col:{header:'采购单ID', width:100, sortable:true}, field:{name:'pur_apply_filesale__apply_id',type:'string'}},
	{col:{header:'主键', width:100, sortable:true}, field:{name:'pur_apply_filesale__filesale_id',type:'string'}},
	{col:{header:'供应商ID', width:100, sortable:true}, field:{name:'pur_apply_filesale__provider_id',type:'string'}}
	];
	
	config.param = {
		cols: cols,
		sorts: null,
		hasQuery: '1',
		isedit: '0',
		isshow: '1',
		funid: 'pur_apply_filesale'
	};
	
	
		
	return new Jxstar.GridNode(config);
}